@extends('plugin.hostserver.front.layout.user')
@section('content')

    <div class="container mt-5">
        <div class="row tm-content-row">
            <div class="col-12 tm-block-col">
                <div class="tm-bg-primary-dark tm-block tm-block-h-auto">
                    <h2 class="tm-block-title">当前余额</h2>
                    <p class="text-success" style="font-size: 20px">{{ user('money','host_server') }}</p>

                </div>
            </div>
        </div>
        <!-- row -->
        <div class="row tm-content-row">

            <div class="tm-block-col tm-col-account-settings">
                <div class="tm-bg-primary-dark tm-block tm-block-settings">
                    <h2 class="tm-block-title">卡密充值</h2>

                    <form id="contactForm" class="tm-signup-form row" method="post"
                          action="{{ plugin_route('hostserver.user.recharge.post',['type'=>'card']) }}">
                        @csrf
                        <div class="form-group col-lg-12">
                            <label for="name">输入卡密帐号</label>
                            <input id="password" rq="1" placeholder="输入卡密帐号" name="card_number" type="text" class="form-control validate">
                        </div>

                        <div class="col-4">
                            <button type="button" class="btn btn-info btn-block text-uppercase ajax-submit" >充值
                            </button>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>

@endsection
@section('foot_js')

@endsection